.admin-layout {
  height: calc(100vh - 60px);
  display: flex;
}

.admin-sidebar {
  width: 220px;
  background-color: #304156;
  height: 100%;
  position: fixed;
  left: 0;
  overflow-y: auto;
}

.admin-content {
  flex: 1;
  margin-left: 220px;
  padding: 20px;
  background-color: #f0f2f5;
  min-height: 100%;
}

.admin-header {
  padding: 16px 20px;
  background: white;
  box-shadow: 0 1px 4px rgba(0,21,41,.08);
  margin-bottom: 20px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h2 {
  margin: 0;
  font-size: 20px;
  color: #1f2f3d;
}

.admin-card {
  background: white;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,21,41,.08);
}

.admin-menu {
  border-right: none;
}

.admin-menu .el-menu-item {
  border-left: 3px solid transparent;
}

.admin-menu .el-menu-item.is-active {
  background-color: #263445;
  border-left: 3px solid #409eff;
}

.admin-menu .el-menu-item:hover {
  background-color: #263445;
}

.admin-form-actions {
  margin-top: 20px;
  text-align: right;
}

.admin-table {
  margin-top: 20px;
}

.admin-search {
  margin-bottom: 20px;
}

.admin-pagination {
  margin-top: 20px;
  text-align: right;
}

/* Dialog styles */
.admin-dialog .el-dialog__body {
  padding: 20px 30px;
}

.admin-form .el-form-item__label {
  font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .admin-sidebar {
    width: 64px;
  }
  
  .admin-content {
    margin-left: 64px;
  }
  
  .admin-menu-item span {
    display: none;
  }
}
